package com.sinothk.base.nearby.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sinothk.base.nearby.entity.NearbySearchVo;
import com.sinothk.base.nearby.entity.UserBlogForNearbyDto;
import com.sinothk.base.nearby.entity.UserInfoForNearbyDTO;
import org.apache.ibatis.annotations.Param;

/**
 * @Description: 附近人
 * @Author: Liangyt
 * @Date:   2022-03-29
 * @Version: V1.0
 */
public interface NearbyBizMapper extends BaseMapper<String> {

    Page<UserInfoForNearbyDTO> nearbyForUserPage(Page<UserInfoForNearbyDTO> page, NearbySearchVo searchVo, @Param("uid") String uid);

    IPage<UserBlogForNearbyDto> nearbyForBlogPage(Page<UserBlogForNearbyDto> page, NearbySearchVo searchVo);
}
